﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Dora.Tools.Utility.Const.ApiSetting
{
    /// <summary>
    /// 微信相关配置
    /// </summary>
    public class WechatConstValue
    {
        /// <summary>
        /// 微信第三方用户 AppID
        /// </summary>
        public static string AppID => "wx8f63ab59b7ecf9da";
        /// <summary>
        /// 微信第三方用户唯一凭证密钥
        /// </summary>
        public static string Appsecret => "a7b94b89f671c8926c387f3348d37420";
        /// <summary>
        /// 微信api根地址
        /// </summary>
        public static string BaseUrl => "https://api.weixin.qq.com";
        /// <summary>
        /// 文件上传本地地址
        /// </summary>
        public static string UploadPath => "Upload/Wechat";
        /// <summary>
        /// 微信token，redis存活时间，单位：秒
        /// </summary>
        public static short WechatTokenExpireTime => 3600;

        #region TasMP小程序相关配置

        ///// <summary>
        ///// TasMP小程序AppId
        ///// by TTTan
        ///// </summary>
        //public static string TasMPWxOpenAppId => "wx14d3f2089c9fca13";

        ///// <summary>
        ///// TasMP小程序AppSecret
        ///// by TTTan
        ///// </summary>
        //public static string TasMPWxOpenAppSecret => "8ce7bafb1ce95b04905ee922489970ac";


        #endregion

        #region 微信二维码授权相关配置
        /// <summary>
        /// 微信授权公众号Appid
        /// </summary>
        public static string PublicNoAppid => "wxab0ed3048a013fe4";
        /// <summary>
        /// 微信授权回调地址
        /// </summary>
        public static string Wxwebapiurl = "http://eddy.ngrok2.xiaomiqiu.cn/api/Payment/GetWxLogin";
        #endregion

        #region 微信支付服务商相关参数
        /// <summary>
        /// 服务商APPID
        /// </summary>
        public static string FacilitatorAppId = "wxab0ed3048a013fe4";
        /// <summary>
        /// 服务商户号
        /// </summary>
        public static string FacilitatorNumber = "1546902561";
        /// <summary>
        /// 服务商Key
        /// </summary>
        public static string FacilitatorKey = "8ce7bafb1ce95b04905ee922489970ac";
        #endregion
    }
}
